package com.navinfo.platform.basicdatastatistics.service;

import com.navinfo.platform.basicdatastatistics.dto.AbstractBasicDataDto;
import org.apache.spark.sql.Row;
import org.apache.spark.sql.types.StructType;

import java.io.Serializable;

public interface IDataStatisticsService extends Serializable {
    Row createRow(AbstractBasicDataDto o, StructType schema);
    AbstractBasicDataDto convertDataset(Row row);
    StructType createSchema();
}
